package com.jsmtr.rms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "DUserWorkExperience")
public class DUserWorkExperience {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // id

    @Column(nullable = false, length = 50)
    private String rid; // 应聘者简历ID

    @Column(nullable = false)
    private String starttime; // 开始时间

    @Column(nullable = false)
    private String endtime; // 结束时间

    @Column(nullable = false, length = 100)
    private String companyname; // 公司名称

    @Column(nullable = true, length = 100)
    private String position; // 工作岗位

    @Column(nullable = true, length = 100)
    private String department; // 工作部门

    @Column(nullable = true, length = 1000)
    private String jobduties;  // 工作内容

    @Column(nullable = true, length = 1000)
    private String reason;  // 离职原因

    @Column(nullable = true, length = 50)
    private String salary;  // 收入

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getJobduties() {
        return jobduties;
    }

    public void setJobduties(String jobduties) {
        this.jobduties = jobduties;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }


}